package com.company.exp2.event.impl;

import com.company.exp2.event.Event;
import com.company.exp2.station.Station;
import com.company.exp2.typeEnum.EventType;

/**
 * @author dyy
 * 这个类的存在只是为了满足switch case中的默认情况
 */
public class StartModelEvent extends Event {

    /**
     * @param timestamp         事件发生的时间戳
     * @param associatedStation null
     */
    public StartModelEvent(long timestamp, Station associatedStation) {
        super(timestamp, associatedStation);
    }

    @Override
    public void occur() {
        // 不会真的执行到这个方法吧
        System.out.println("恭喜你触发了彩蛋:");
        System.out.println("===========================");
        System.out.println("阿云啊，不会真的当选不了殿堂马吧");
        System.out.println("你的无败三冠前辈们啊，在等着你呢");
        System.out.println("===========================");
        assert false : "over";
    }

    @Override
    public EventType getEventType() {
        return EventType.MODEL_START;
    }
}
